package com.swd.order.Enums;

public enum OrderEnum {
    CREATE(0),
    MEAL(1),
    FINISH(2);

    private int code;

    OrderEnum(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public byte getByteCode() {
        return new Byte(code+"");
    }

    public void setCode(int code) {
        this.code = code;
    }

}
